Package com.cisco.pt.ipc.sim.impl
Class EIGRPNeighborImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.EIGRPNeighborImpl
- All Implemented Interfaces:
IPCData,EIGRPNeighbor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglongintgetRto()intintgetSrtt()longvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetHoldTime(int holdTime) voidsetLastHeardTime(long lastHeardTime) voidsetLastUpdateTime(long lastUpdateTime) voidsetNeighborAddress(IPAddress neighborAddress) voidsetPortName(String portName) voidsetRto(int rto) voidsetSeqNumber(int seqNumber) voidsetSrtt(int srtt) voidsetUpTime(long upTime) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
neighborAddress
-
portName
-
holdTime
protected int holdTime -
upTime
protected long upTime -
seqNumber
protected int seqNumber -
srtt
protected int srtt -
rto
protected int rto -
lastHeardTime
protected long lastHeardTime -
lastUpdateTime
protected long lastUpdateTime
-
-
Constructor Details
-
EIGRPNeighborImpl
public EIGRPNeighborImpl()
-
-
Method Details
-
getNeighborAddress
- Specified by:
getNeighborAddressin interfaceEIGRPNeighbor- Returns:
- IPAddress Returns a IPAddress
-
setNeighborAddress
- Specified by:
setNeighborAddressin interfaceEIGRPNeighbor- Parameters:
neighborAddress- Takes in a parameter of neighborAddress
-
getPortName
- Specified by:
getPortNamein interfaceEIGRPNeighbor- Returns:
- String Returns a String
-
setPortName
- Specified by:
setPortNamein interfaceEIGRPNeighbor- Parameters:
portName- Takes in a parameter of portName
-
getHoldTime
public int getHoldTime()- Specified by:
getHoldTimein interfaceEIGRPNeighbor- Returns:
- int Returns a int
-
setHoldTime
public void setHoldTime(int holdTime) - Specified by:
setHoldTimein interfaceEIGRPNeighbor- Parameters:
holdTime- Takes in a parameter of holdTime
-
getUpTime
public long getUpTime()- Specified by:
getUpTimein interfaceEIGRPNeighbor- Returns:
- long Returns a long
-
setUpTime
public void setUpTime(long upTime) - Specified by:
setUpTimein interfaceEIGRPNeighbor- Parameters:
upTime- Takes in a parameter of upTime
-
getSeqNumber
public int getSeqNumber()- Specified by:
getSeqNumberin interfaceEIGRPNeighbor- Returns:
- int Returns a int
-
setSeqNumber
public void setSeqNumber(int seqNumber) - Specified by:
setSeqNumberin interfaceEIGRPNeighbor- Parameters:
seqNumber- Takes in a parameter of seqNumber
-
getSrtt
public int getSrtt()- Specified by:
getSrttin interfaceEIGRPNeighbor- Returns:
- int Returns a int
-
setSrtt
public void setSrtt(int srtt) - Specified by:
setSrttin interfaceEIGRPNeighbor- Parameters:
srtt- Takes in a parameter of srtt
-
getRto
public int getRto()- Specified by:
getRtoin interfaceEIGRPNeighbor- Returns:
- int Returns a int
-
setRto
public void setRto(int rto) - Specified by:
setRtoin interfaceEIGRPNeighbor- Parameters:
rto- Takes in a parameter of rto
-
getLastHeardTime
public long getLastHeardTime()- Specified by:
getLastHeardTimein interfaceEIGRPNeighbor- Returns:
- long Returns a long
-
setLastHeardTime
public void setLastHeardTime(long lastHeardTime) - Specified by:
setLastHeardTimein interfaceEIGRPNeighbor- Parameters:
lastHeardTime- Takes in a parameter of lastHeardTime
-
getLastUpdateTime
public long getLastUpdateTime()- Specified by:
getLastUpdateTimein interfaceEIGRPNeighbor- Returns:
- long Returns a long
-
setLastUpdateTime
public void setLastUpdateTime(long lastUpdateTime) - Specified by:
setLastUpdateTimein interfaceEIGRPNeighbor- Parameters:
lastUpdateTime- Takes in a parameter of lastUpdateTime
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-